Fix bug #13953 with spontaneous frame resizes on MS-Windows.
authorEli Zaretskii <eliz@gnu.org>
Thu, 14 Mar 2013 17:37:51 +0000 (19:37 +0200)
committerEli Zaretskii <eliz@gnu.org>
Thu, 14 Mar 2013 17:37:51 +0000 (19:37 +0200)
commitc735736b1ea90ffbd13eb45470fae2c726d17b58
tree17de0e4f5aeb25f6f56ea98c7ebdb6fcd8f14057
parenta8bc34d92e9e1bcbcc7c9ee90d9c8f4aaf5488f6
Fix bug #13953 with spontaneous frame resizes on MS-Windows.

 src/w32term.c (w32_read_socket) <WM_WINDOWPOSCHANGED>: Remove old
 and incorrect code.  Treat WM_WINDOWPOSCHANGED like WM_ACTIVATE
 and WM_ACTIVATEAPP.
 (w32fullscreen_hook): If the frame is visible, reset
 f->want_fullscreen flag after changing the frame size.  If the
 frame is not visible, set f->want_fullscreen to FULLSCREEN_WAIT.
src/ChangeLog
src/w32term.c